import { createApp } from 'vue'
import store from './store'
import router from './router'
// 引入web存储的公用工具
import Storage from './plugins/storage'
// antd组件的按需引入
import Antd from './plugins/antd'
// 引入基础样式
import '@/assets/less/base.less'
// 引入用户权限控制
import sso from './sso'
import App from './App.vue'

const app = createApp(App)

app.use(store)
app.use(router)
app.use(Storage)
app.use(Antd)

sso(() => {
  app.mount('#app')
})
